@model LynxWebLog.Models.RegisterViewModel
@{
    ViewBag.Title = "Register";
}

<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
</hgroup>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset class="form-horizontal">
        <legend>Create a new account.</legend>
        <div class="container">
            <div class="row">
        <div class="col-sm-5 col-md-4 col-lg-3">
            <div class="form-group">
                @Html.LabelFor(m => m.UserName, new { @class = "control-label" })
                <div class="controls">
                    @Html.TextBoxFor(m => m.UserName, new { @class = "form-control" })
                </div>
            </div>
            </div>
                </div>
            <div class="row">
                <div class="col-sm-5 col-md-4 col-lg-3">
                    <div class="form-group">
                        @Html.LabelFor(m => m.Password, new { @class = "control-label" })
                                <div class="controls">
                                    @Html.PasswordFor(m => m.Password, new { @class = "form-control" })
                                        </div>
                                    </div>
                                </div>
                </div>
            <div class="row">
                <div class="col-sm-5 col-md-4 col-lg-3">
                    <div class="form-group">
                        @Html.LabelFor(m => m.ConfirmPassword, new { @class = "control-label" })
                                <div class="controls">
                                    @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
                                        </div>
                                    </div>
                                </div>
                </div>
            <div class="row">
                <div class="col-sm-5 col-md-4 col-lg-3">
                    <div class="form-group">
                        @Html.LabelFor(m => m.BlogName, new { @class = "control-label" })
                                <div class="controls">
                                    @Html.TextBoxFor(m => m.BlogName, new { @class = "form-control" })
                                        </div>
                                    </div>
                                </div>
                            </div>
            </div>
            <div class="form-actions">
                <input type="submit" value="Register" class="btn btn-default btn-primary" />
            </div>
    </fieldset>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
